package com.stadium.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * 规则表
 *
 * @author zq
 * @email 513973172@qq.com
 * @date 2020-01-31 15:13:40
 */
@Data
@ApiModel(value = "规则表Dto")
public class BasicsRuleDto {
    private static final long serialVersionUID = 1L;

    //id
    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String id;
    //规则名称
    @Length(min = 0, max = 100)
    @ApiModelProperty(value = "规则名称")
    private String name;
    //是否可用（0：可用 1：不可用）
    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "是否可用（0：可用 1：不可用）")
    private String isAvailable;
    private List<RRuleDetailDto> rRuleDetailDtoList;
}
